package ExceptionDemo;

public class MyException extends Exception{

    @Override
    public void printStackTrace() {
        System.out.println("此处发生了异常");
    }
}
